<template>
  <div id="register">
    <div class="Content">
      <!-- <Form ref="LoginList" :model="LoginList" :rules="MessageL">
        <FormItem lang="input" prop="user">
            <Input type="text" v-model="LoginList.user" placeholder="UserName">
              <Icon type="ios-person-outline" slot="prepend"></Icon>
            </Input>
        </FormItem>
        <FormItem lang="password" prop="password">
            <Input :type="pType" v-model="LoginList.password" placeholder="password">
              <Icon :type="iType" slot="prepend" @click.native="Changes"></Icon>
            </Input>
        </FormItem>
        <FormItem class="T-algin-c">
          <Button  type="primary" @click="Submit('LoginList')">注册</Button>
        </FormItem> -->
      </Form>
    </div>
  </div>
</template>

<script>
  // import user from 'src/assets/images/user.png'
  import {mapState} from 'vuex'

  export default{
    name:'login',
    data(){
      return{
        iUser:user,
        pType:'password',
        iType:'key',
        MessageL:{
          // user:[{required:true, message:"用户名不能为空!",trigger:"blur"}],
          password:[{required:true, message:'密码不能为空!',trigger:"blur"},
            {type:'string',min:6,message:'密码长度最低不能小于六位！'}]
        }
      }
    },
    computed:{
      // ...mapState(["LoginList"])
    },
    methods:{
  
    }
  }
</script>
